<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <!--[if lt IE 9]>
    <script type="text/javascript" src="__PUBLIC__/Admin/lib/html5.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/lib/respond.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/lib/PIE_IE678.js"></script>
    <![endif]-->
    <link href="__PUBLIC__/Admin/css/H-ui.min.css" rel="stylesheet" type="text/css">
    <!--[if IE 6]>
    <script type="text/javascript" src="__PUBLIC__/Home/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <meta name="keywords" content="">
    <meta name="description" content="">
    <script type="text/javascript" src="__PUBLIC__/Admin/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/lib/layer/1.9.3/layer.js"></script>
	<link rel="stylesheet" href="__PUBLIC__/Admin/lib/layer/1.9.3/skin/layer.css" id="layui_layer_skinlayercss">
	<link rel="stylesheet" href="__PUBLIC__/Admin/lib/layer/1.9.3/skin/layer.css" id="layui_layer_skinlayercss">
<title>计划入库单详情</title>
<style>
	table td{
		font-size:16px	!important;
	}
	table{
		width:991px;height:528px;
	}
	.table-border th, .table-border td{
		border:0px;
	}
	td{width:50px;height:49px;overflow:hidden;word-spacing:nowrap;padding:0 3px;border-top:1px solid #000 !important;border-left:1px solid #000 !important;}
	table{
		table-layout:fixed;
		border:0 !important;
	}
	tr{
		border:0 !important;
	}
	
	.border0{
		border-top:0 !important;
		border-right:0 !important;
		border-left:0 !important;
	}
	.border1{
		border-right:1px solid #000 !important
	}
	.border2{
		border-bottom:1px solid #000 !important
	}
	.border-top{
		border-top:0 !important;
	}
	.border-right{
		border-right:0 !important;
	}
	.border-bottom{
		border-bottom:0 !important;
	}
	.border-left{
		border-left:0 !important;
	}
	.bold{
		font-weight:bold;
	}
	@media print {
		.noprint { display: none; }
		#emstable {page-break-after:always;}
		<!-- td{ -->
			<!-- border-top:0px solid #000 !important;border-left:0px solid #000 !important; -->
		<!-- } -->
		<!-- .border1{ -->
			<!-- border-right:0px solid #000 !important -->
		<!-- } -->
		<!-- .border2{ -->
			<!-- border-bottom:0px solid #000 !important -->
		<!-- } -->
		.select{
			border:0px;
		}
		.DivSelect
		{
			position: relative;
			background-color: transparent;
			width:  110px;
			height: 20px;
			overflow: hidden; /*隐藏了小三角，因为宽度为110px,而select宽度为130px*/
		}
	}
</style>
</head>
<body>
<div class="pd-20">

	<table class=" table-border table-bordered table-hover " style="border-top:0;">
		<thead  class="border0">
			<tr  class="border0">
				<td scope="col" colspan="7"  class="border0" style='text-align:center;font-size:22px!important;font-weight:bold;border:0'><{:C('base_config.company_name')}>生产任务申请单</td>
			</tr>
			<tr class="">
				<td class="border0"></td>
				<td class="border0"></td>
				<td class="border0"></td>
				<td class="border0">打印日期:</td>
				<td class="border0"><{:date("Y-m-d",time())}></td>
				<td class="border0">打印页数:</td>
				<td class="border0">1/1</td>
			</tr>
		</thead>
		<tbody>
			<tr class="text-c">
				<td class="bold">单据编号</td>
				<td colspan="2"><{$detail.purchasing_no}></td>
				<td class="bold">单据日期</td>
				<td colspan="3"  class="border1"><{$detail.add_time|date="Y-m-d",###}></td>
			</tr>
			<tr class="text-c">
				<td class="bold">需求部门</td>
				<td colspan="2"><{$detail.section_name.name}></td>
				<td class="bold">申请人</td>
				<td colspan="3"  class="border1"><{$detail.people_purchasing_name.name}></td>
			</tr>
			<tr class="text-c">
				<td class="bold">生产周期要求</td>
				<td colspan="6"  class="border1"><{$detail.product_weeks}></td>
			</tr>
			<tr class="text-c">
				<td class="bold">申请摘要</td>
				<td colspan="6"  class="border1"><{$detail.product_marks}></td>
			</tr>
			<tr class="text-c">
				<td colspan="7"  class="border1 bold">成品表</td>
			</tr>
			<tr class="text-c">
				<td class="bold">产品编码</td>
				<td class="bold">成品品名</td>
				<td class="bold">规格</td>
				<td class="bold">计划数量</td>
				<td class="bold">主单位</td>
				<td class="bold">入库仓库</td>
				<td  class="border1 bold">备注</td>
			</tr>
			
			<tr class="">
				<td><{$detail.pro_no}></td>
				<td><{$detail.pro_name}></td>
				<td><{$detail.pro_spec}></td>
				<td><{$detail.pro_num_plan}></td>
				<td><{$detail.unit_name.unit_name}></td>
				<td><{$detail.inbount_warehouse_name}></td>
				<td  class="border1"><{$detail.mark}></td>
			</tr>
			
			<tr class="text-c">
				<td colspan="7"  class="border1 bold">原辅料表</td>
			</tr>
			<tr class="text-c">
				<td class="bold">产品编码</td>
				<td class="bold">原辅料品名</td>
				<td class="bold">规格</td>
				<td class="bold">数量</td>
				<td class="bold">主单位</td>
				<td class="bold">出货仓库</td>
				<td  class="border1 bold">备注</td>
			</tr>
			<volist name="list" id="vo">
			<tr class="">
				<td><{$vo.goods_info.goods_no}></td>
				<td><{$vo.goods_info.goods_name}></td>
				<td><{$vo.goods_info.goods_spec}></td>
				<td></td>
				<td><{$vo.goods_info.unit_name.unit_name}></td>
				<td></td>
				<td  class="border1"></td>
			</tr>
			</volist>
			<tr class="text-c">
				<td class="border2 bold">经办人:</td>
				<td colspan="2" class="border2"></td>
				<td class="border2 bold">有权审批人:</td>
				<td colspan="3" class="border2 border1"></td>
			</tr>
		</tbody>
	</table>
	<button onclick="window.print()"  class="btn btn-primary radius noprint">打印</button>
<!-- <div class="pages"> -->
<!-- <{$page}> -->
<!-- </div> -->
</div>

</body>
</html>